package com.parenting.entities;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;;
import com.parenting.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDate;

/**
 * <p>
 * 宝宝认证
 * </p>
 *
 * @author zcj
 * @since 2021-05-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("parenting_shopper_child")
@ApiModel(value = "ShopperChild对象", description = "宝宝认证")
public class ShopperChild extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "宝宝的名字")
    @TableField("CHILD_NAME")
    private String childName;

    @ApiModelProperty(value = "宝宝的性别")
    @TableField("CHILD_SEX")
    private String childSex;

    @ApiModelProperty(value = "宝宝的生日")
    @TableField("CHILD_BIRTHDAY")
    private LocalDate childBirthday;

    @ApiModelProperty(value = "宝宝的身份证")
    @TableField("CHILD_CARD")
    private String childCard;

    @ApiModelProperty(value = "宝宝的家人ID")
    @TableField("SHOPPER_ID")
    private String shopperId;

    @ApiModelProperty(value = "认证状态 0:未通过1:信息不全2:审核中3:认证通过")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "认证失败的原因")
    @TableField("CERT_FAIL")
    private String certFail;


}
